package edu.zjut.hjg.saas.biz.model;

/**
 * 资源数据模型
 * 
 * @author hjg
 */
public class Resource {
    private Integer id;
    /** 资源类型标识 */
    private String  resourceKey;
    /** 父级资源 */
    private Integer parentId;
    /** 资源显示的名称 */
    private String  displayValue;
    /** 资源实际值（代码） */
    private String  realValue;
    /** 资源在同类资源中的排序号 */
    private Integer orderNo;
    /** 资源描述 */
    private String  description;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getResourceKey() {
        return resourceKey;
    }

    public void setResourceKey(String resourceKey) {
        this.resourceKey = resourceKey;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getDisplayValue() {
        return displayValue;
    }

    public void setDisplayValue(String displayValue) {
        this.displayValue = displayValue;
    }

    public String getRealValue() {
        return realValue;
    }

    public void setRealValue(String realValue) {
        this.realValue = realValue;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "ResourceDo [description=" + description + ", displayValue=" + displayValue
                + ", id=" + id + ", orderNo=" + orderNo + ", parentId=" + parentId + ", realValue="
                + realValue + ", resourceKey=" + resourceKey + "]";
    }
}
